package com.xiaowu.netmusic.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xiaowu.netmusic.domain.vo.HistoryVO;

public interface HistoryService {
    void recordPlay(Long userId, Long songId);
    IPage<HistoryVO> getUserHistory(Long userId, int page, int size);

    void clearUserHistory(Long userId);

    void deleteHistory(Long historyId, Long userId);
}
